package login;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

/**
 * @author:WIN10
 * @date:2022/1/18
 * @describe:
 */
public class StudentTest {

    public static void main(String[] args) {

        List<Student> list = new ArrayList<>();
        Scanner input = new Scanner(System.in);
        Student stud = new Student();
        System.out.println("请输入java成绩：");
        stud.setJava(input.nextDouble());
        System.out.println("请输入sql成绩：");
        stud.setSql(input.nextDouble());
        System.out.println("请输入android成绩：");
        stud.setAndroid(input.nextDouble());
        System.out.println("请输入html成绩：");
        stud.setHtml(input.nextDouble());
        list.add(stud);
        System.out.println("=============成绩单=============");
        System.out.println("JAVA: " + stud.getJava() + "\t" + "SQL: " + stud.getSql() + "\t" + "ANDROID：" + stud.getAndroid() + "\t" + "HTML：" + stud.getHtml());
    }
}
